package v3.chapter1.t7;

public class Run {

	public static void main(String[] args) throws InterruptedException {
		MyThread mythread=new MyThread();
		System.out.println("begin =="+mythread.isAlive());
		mythread.start();
		//Thread.sleep(1000);
		System.out.println("end =="+mythread.isAlive());
	}
}

class MyThread extends Thread{

	@Override
	public void run() {
		System.out.println("run="+this.isAlive());
	}
	
}